package pl.edu.agh.io.gpstracker.client.dto;

import java.util.Date;

public class PositionDto extends BaseDto {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7496243138377562867L;

	private Long id;
	private Date datetime;
	private UserDto user;
	private NodeDto node;

	public PositionDto(){}
	
	public Date getDatetime() {
		return datetime;
	}

	public Long getId() {
		return id;
	}

	public NodeDto getNode() {
		return node;
	}

	public UserDto getUser() {
		return user;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setNode(NodeDto node) {
		this.node = node;
	}

	public void setUser(UserDto user) {
		this.user = user;
	}
}
